if (!self.define) {
  let e,
    n = {};
  const s = (s, t) => (
    (s = new URL(s + ".js", t).href),
    n[s] ||
      new Promise((n) => {
        if ("document" in self) {
          const e = document.createElement("script");
          (e.src = s), (e.onload = n), document.head.appendChild(e);
        } else (e = s), importScripts(s), n();
      }).then(() => {
        let e = n[s];
        if (!e) throw new Error(`Module ${s} didn’t register its module`);
        return e;
      })
  );
  self.define = (t, i) => {
    const r =
      e ||
      ("document" in self ? document.currentScript.src : "") ||
      location.href;
    if (n[r]) return;
    let o = {};
    const c = (e) => s(e, r),
      a = { module: { uri: r }, exports: o, require: c };
    n[r] = Promise.all(t.map((e) => a[e] || c(e))).then((e) => (i(...e), o));
  };
}
define(["./workbox-d761f494"], function (e) {
  "use strict";
  self.skipWaiting(),
    e.clientsClaim(),
    e.precacheAndRoute(
      [
        { url: "assets/index.723bfdcf.css", revision: null },
        { url: "assets/index.892f480a.js", revision: null },
        { url: "assets/vendor.9e161471.js", revision: null },
        { url: "canvas.svg", revision: "d7802a1962db98a9f7e1b5d2360f8b3f" },
        { url: "index.html", revision: "066d11afa1fcfec32b1004cca88263ac" },
        {
          url: "pattern/carbon.png",
          revision: "c0f5b6ebf96dc6793e37cc0b4fb75f6d",
        },
        {
          url: "pattern/cloth.png",
          revision: "97939a3f3ae4e22479facb3777365260",
        },
        {
          url: "pattern/crayon.png",
          revision: "fd693e9513bc860387dd22cbdaba7e99",
        },
        {
          url: "pattern/crayonDark.png",
          revision: "02464a71c93b4ed6a6ed1ed056c18481",
        },
        {
          url: "pattern/oil.png",
          revision: "5bef8d07b80ec85cd465031cbb69f61e",
        },
        { url: "pwa-192.png", revision: "203d9eb769f5d3da0f19bdbd96ced716" },
        { url: "pwa-512.png", revision: "9a1575ccb13734f6980b0f474fa65a35" },
        { url: "registerSW.js", revision: "06c3ade45b4ad6d8c6c32fdf9d77e367" },
        {
          url: "manifest.webmanifest",
          revision: "16cfb04e505a7252f80551b6793bc7e7",
        },
      ],
      {}
    ),
    e.cleanupOutdatedCaches(),
    e.registerRoute(
      new e.NavigationRoute(e.createHandlerBoundToURL("index.html"))
    ),
    e.registerRoute(
      /^https:\/\/raw\.githubusercontent\.com\//,
      new e.StaleWhileRevalidate({
        cacheName: "github-raw-content",
        plugins: [
          new e.ExpirationPlugin({ maxEntries: 100, maxAgeSeconds: 2592e3 }),
        ],
      }),
      "GET"
    ),
    e.registerRoute(
      /^https:\/\/fonts\.googleapis\.com\//,
      new e.StaleWhileRevalidate({
        cacheName: "google-fonts-stylesheets",
        plugins: [
          new e.ExpirationPlugin({ maxEntries: 100, maxAgeSeconds: 2592e3 }),
        ],
      }),
      "GET"
    ),
    e.registerRoute(
      /^https:\/\/fonts\.gstatic\.com\//,
      new e.StaleWhileRevalidate({
        cacheName: "google-fonts-webfonts",
        plugins: [
          new e.ExpirationPlugin({ maxEntries: 100, maxAgeSeconds: 2592e3 }),
        ],
      }),
      "GET"
    ),
    e.registerRoute(
      /^https:\/\/fonts\.font\.im\//,
      new e.StaleWhileRevalidate({
        cacheName: "font-im",
        plugins: [
          new e.ExpirationPlugin({ maxEntries: 100, maxAgeSeconds: 2592e3 }),
        ],
      }),
      "GET"
    );
});
